﻿<div class="panel panel-default">
    <div class="panel-body">
        <div class="row">
            <div class="col-xs-12">
                <form role="form">
                    <div class="form-group">
                        <label for="title">Title:</label>
                        <input id="title" data-ng-model="album.Title" class="form-control" />
                    </div>
                    <div class="form-group">
                        <label for="artist">Artist:</label>
                        <input id="artist" data-ng-model="album.Artist" class="form-control" />
                    </div>
                    <div class="form-group">
                        <label for="image">Image Url:</label>
                        <input id="image" data-ng-model="album.ImageUrl" class="form-control" />
                    </div>
                    <div class="form-group">
                        <input type="button" class="btn btn-sm btn-success" value="Save Album" data-ng-click="saveAlbum(album)" />
                        <input type="button" class="btn btn-sm btn-warning" value="Cancel" data-ng-click="cancel(album)" />
                        <input type="button" class="btn btn-sm btn-danger" value="Delete" data-ng-click="delete(album)" data-ng-show="isEdit" />
                        
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>